package util;

import java.util.ArrayList;
import java.util.List;

import entity.Like;
import entity.People;

public class DataUtil {

    public static List<People> createPeoples(){
        List<People> ps = new ArrayList<>();

        People zhuguang = new People("zhuguang");
        List<Like> zgLikes = new ArrayList<>();
        zgLikes.add(new Like("游戏"));
        zgLikes.add(new Like("唱歌"));
        zhuguang.setLikes(zgLikes);
        ps.add(zhuguang);

        People zhaoran = new People("zhaoran");
        List<Like> zrLikes = new ArrayList<>();
        zrLikes.add(new Like("抽烟"));
        zrLikes.add(new Like("烫头"));
        zhaoran.setLikes(zrLikes);
        ps.add(zhaoran);

        return ps;
    }
}
